package com.neu.his.entity;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class Patient extends Base {
    private String name;
    private String idNumber;
    private String address;
    private String gender;
    private Date birthday;

    @TableField(exist = false)
    private List<DiagRecords> diagRecordsList;

    @Override
    public String toString(){
        return JSON.toJSONString(this);
    }

}
